/*=====================================================
Critical Links
Auto Configuration Server

Authors:
	Rui Eduardo Gouveia Gil - r-gil@critical-links.com

Date: 2010
Version 0.1
=======================================================*/
#ifndef __HTTPAUTHENTICATION_H__
#define __HTTPAUTHENTICATION_H__

#include <rgcpp/structs/Map.h>
#include <rgcpp/tools/Encoder.h>
#include <rgcpp/structs/Types.h>
#include <rgcpp/utils/LogHandler.h>
#include <pion/net/HTTPCookieAuth.hpp>
#include <rgcpp/exceptions/RuntimeException.h>

#include "ACSConfig.h"

namespace acs
{

class HttpAuthentication : public pion::net::HTTPCookieAuth
{
	private:

	public:
		HttpAuthentication();
		~HttpAuthentication();

		virtual bool handleRequest (pion::net::HTTPRequestPtr &request, pion::net::TCPConnectionPtr &tcp_conn);
};

}

#endif

